﻿using QFramework;

namespace HKTools
{
    /// <summary>
    /// 设置 TargetCam 冻结状态指令
    /// </summary>
    public class CMD_SetFreezeMode : AbstractCommand
    {
        bool isFreeze;

        public CMD_SetFreezeMode(bool isFreeze)
        {
            this.isFreeze = isFreeze;
        }

        protected override void OnExecute()
        {
            this.GetSystem<IHK_TargetCamSystem>().SetFreezeMode(this.isFreeze);
        }
    }
}